package top.buyibuyi.course.dao.admin;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;
import top.buyibuyi.course.pojo.Semester;

@Mapper
public interface UpdateSemesterDao {

    @Update("update semester set startstime = #{startstime},closetime = #{closetime},ends = #{ends}" +
            "where id = #{id}")
    Boolean updateSemester(Semester semester);
}
